package com.wish.wishsystem_management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wish.wishsystem_management.entity.SysUserRole;

import java.util.List;

/**
 * <p>
 * 用户与角色对应关系 服务类
 * </p>
 *
 * @author zhaiwj
 * @since 2021-03-22
 */
public interface ISysUserRoleService extends IService<SysUserRole> {


    void saveOrUpdate2(Long userId, List<Long> roleIdList);


    List<Long> queryUserIdList(Long userId);


    void saveOrUpdate(Long userId, List<Long> roleIdList);

    void deleteBatch(Long[] userIds);
}
